package com.ruoyi.system.domain.dto;

import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.system.domain.BdmReceiveAddress;
import lombok.Data;

import javax.validation.Valid;
import java.math.BigDecimal;
import java.util.List;

@Data
public class BdmOrderCreateDto extends BaseEntity {

    /**
     * 可以从购物车购买
     */
    @Valid
 private List<BdmCartDto> bdmCartDtos;

    /**
     * 可以直接选取商品购买
     */
    @Valid
 private BdmGoodDto bdmGoodsDto;

    /**
     * 用户地址
     */
 private BdmReceiveAddress bdmReceiveAddress;

    /**
     * 备注
     */
    private String remark;

    private BigDecimal deliveryCost;

}
